﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InformationSystem.BLL.Core.Model
{
    public class College
    {
        public College()
        {
            CurrentUserCanVisitForum = true;
        }

        private string _forumStatusDescp;

        public int CollegeId { get; set; }
        public string CollegeName { get; set; }
        public bool IsPublicDept { get; set; }
        public bool UserForum { get; set; }
        public bool ForumStatus { get; set; }
        public bool ForumPublicToAll { get; set; }
        public bool CurrentUserCanVisitForum { get; set; }
        public string ForumStatusDescp
        {
            get
            {
                return ForumStatus ? "正常" : "关闭";

            }
            set
            {

                this._forumStatusDescp = value;
                this.ForumStatus = this._forumStatusDescp == "正常" ? true : false;
            }
        }

        public IList<ThreadType> ThreadTypeList { get;  set; }

    }
}
